-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Prevent data corruption for StorPool volumes #10799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10799 +/- ##
============================================
- Coverage 16.42% 16.42% -0.01%
- Complexity 13549 13552 +3
============================================
Files 5673 5673
Lines 500080 500084 +4
Branches 60506 60507 +1
============================================
- Hits 82153 82148 -5
- Misses 408794 408804 +10
+ Partials 9133 9132 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes perfect sense
Hi @Pearl1594, @DaanHoogland, @rohityadavcloud! |
sure |
Prevents data corruption in cases where a VM is started on a new host while it is already running on another host Scenario - if the host is down and the admin stops a VM with the option `force=true` the admin will be able to start it on another host. This may lead to a data corruption when the first host goes Up and the volume is attached on both hosts.
5c54178
to
4ed4f63
Compare
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
@blueorangutan package |
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13395 |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-13322)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This method is implemented only in storpool plugin, so I don't see any regressions. Thank you.
Description
Prevents data corruption in cases where a VM is started on a new host while it is already running on another host
Scenario: If the host is down and the admin stops a VM with the option
force=true,
the admin will be able to start it on another host. This may lead to data corruption when the issue with the first host is fixed, the volume will be attached to both hosts.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
Manual testing and with StorPool's smoke tests